/**
 * Created with CLion.
 * Description: 基础数据结构头文件
 * User: loong
 * Date: 2020-10-14
 * Time: 22:20
 */
#ifndef DATASTRUCTSTUDY_BASE_H
#define DATASTRUCTSTUDY_BASE_H


#include <string>

using namespace std;

struct Node
{
    std::string data;
    Node *next_node;

    Node()
    {
        data = "";
        next_node = nullptr;
    }

    Node(std::string _data)
            : data(_data)
    {
        next_node = nullptr;
    }

};

#endif //DATASTRUCTSTUDY_BASE_H
